package study.innerClass;

public class TestExtends {

    public static void main(String[] args) {

        Child child = new Child();
        //System.out.println(child.fatherName);
        //child.fatherTest();
        Child.innerClass innerClass = child.new innerClass();
        //访问母亲的属性
        System.out.println(innerClass.motherName);
        //调用母亲的方法
        innerClass.motherTest();
    }
}
